import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * clase que maneja los diferentes tipos de armas del juego
 * 
 * @author (Octavio y Cesar) 
 * @version (2014.11.28)
 */
public class  Guns extends Actor
{
    private int damage;
    /**
     * constructor de objetos de la clase Guns
     */
    public Guns()
    {
        
    }
    
    /**
     * @param un numero entero que modifica el danio
     */
    public Guns(int aDamage)
    {
       damage=aDamage; 
    }
    
    /**
     * Act - do whatever the Items wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        // Add your action code here.
        
    }    
       
    /**
     * @return el danio actual 
     */
    public int getDamage()
    {
        return damage;
    }
    
    /**
     * remueve la bala 
     */
    public void hide()
    {
        getWorld().removeObject(this);
    }
    
}
